import request from "@/util/request.js";

/**
 * 微信登录
 */
export function wechatLogin(code) {
  return request.get('/wechatLogin', {
    code: code
  });
}

/**发送验证码
*/
export function sendSMSCode(phone) {
  return request.get('/sendCode', {
    phone:phone
  });
}
/**
 * 绑定手机号码
 */
export function bindPhone(phone,code) {
  return request.get('/bindPhone', {
    phone:phone,
	code:code
  });
}